/*
 * @Author: 王俊杰 “251082517@qq.com”
 * @Date: 2023-07-05 11:15:02
 * @LastEditors: your name
 * @LastEditTime: 2024-11-09 10:47:55
 * @FilePath: /vite-project/src/router/modules/mobile-routes.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 移动端路由
export default [
  {
    path: '/',
    name: 'home',
    component: () => import('@/views/main/index.vue')
  },
  {
    path: '/pins/:id',
    name: 'pins',
    component: () => import('@/views/pins/index.vue')
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login-register/login/index.vue')
  },
  {
    path: '/register',
    name: 'register',
    component: () => import('@/views/login-register/register/index.vue')
  },
  {
    path: '/date',
    name: 'date',
    component: () => import('@/views/date/index.vue'),
    meta: {
      title: '自定义日期组件'
    }
  },
  {
    path: '/display',
    name: 'display',
    component: () => import('@/views/display/index.vue'),
    meta: {
      title: 'display 布局'
    }
  },
  {
    path: '/index-bar',
    name: 'IndexBar',
    component: () => import('@/views/components/indexBar/index.vue'),
    meta: {
      title: 'index-bar 组件'
    }
  },
  {
    path: '/debounce',
    name: 'Debounce',
    component: () => import('@/views/debounce-throttle/debounce.vue'),
    meta: {
      title: 'debounce 防抖函数'
    }
  },
  {
    path: '/throttle',
    name: 'Throttle',
    component: () => import('@/views/debounce-throttle/throttle.vue'),
    meta: {
      title: 'throttle 节流函数'
    }
  }
]
